<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<title>客户管理系统</title>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="renderer" content="webkit">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="shortcut icon" href="{{ url('images/favicon.png') }}" type="image/png">
	<link rel="stylesheet" href="{{ url('css/bootstrap.min.css') }}">
	<link rel="stylesheet" href="{{ url('css/font-awesome.min.css') }}">
	<link rel="stylesheet" href="{{ url('js/sweetalert/sweetalert.css') }}">
	<link rel="stylesheet" href="{{ url('css/adapt.css') }}">
	<link rel="stylesheet" href="{{ url('css/main.css?v='.config('system.version')) }}">
	@yield('style')
	<script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>	
	<script type="text/javascript">
    	var HOME_URL = "{{ url('/') }}";
		$.ajaxSetup({
			headers: {
			    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
			}
		});
	</script>
	@yield('head-top')
</head>
<!--[if lt IE 10]>
<body>
    <div class="noie">
        您现在使用的是旧版本的 IE 浏览器，为了您能更好及完整体验该系统的所有功能，请尽快升级您的浏览器！
    </div>
<![endif]-->
<body id="framework">
	<div id="wrap">
		@include('admin.partials.header')
		<div class="main-content">
			<div id="main-view">
				<div class="main-top">
					@yield('top')
				</div>
			<div id="content">
				@include('admin.partials.alert')
				@yield('content')
			</div>
			</div>
		</div>
	</div>
<script src="{{ url('js/bootstrap.min.js') }}"></script>
<script src="{{ url('js/common.js') }}"></script>
<script src="{{ url('js/vue.min.js') }}"></script>
<script src="{{ url('js/sweetalert/sweetalert.min.js') }}"></script>
@yield('foot')
@include('admin.partials.common_modal')
<script type="text/javascript">
	$('.dropdown-toggle').dropdown();
</script>
<script src="{{ url('js/main.js?v='.config('system.version')) }}"></script>
</body>
</html>